home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_06_07 / v6n7018a.txt < prev    next >
Text File  |  1989-09-26  |  831b  |  18 lines

  1.  
  2. Table 1 - Digital-Output Register (DOR)
  3. ---------------------------------------
  4. bits 0 & 1     a two bit field for drive select
  5. bit 2          NOT reset: if clear, card is held reset
  6. bit 3          permit Interrupt 6 and DMA requests from card
  7. bit 4          floppy drive 0 ('A') motor on
  8. bit 5          floppy drive 1 ('B') motor on
  9. bit 6          floppy drive 2 motor on (not usually used in PC)
  10. bit 7          floppy drive 3 motor on (not usually used in PC)
  11.  
  12. Note: to reset card, output a zero to the DOR, then output 0x0C (bits two
  13. and three set).  This will set and release the "reset" signal  and allow
  14. interrupts and DMA, but not select a drive or turn a motor on.
  15.  
  16. Note: to select a drive, the drive number is in binary should be placed
  17. in bits 0 & 1.  e.g., drive 1 would be bit 0 set and bit 1 clear.
  18.